package com.example.imoocmall.service;

import com.example.imoocmall.exception.ImoocMallException;
import com.example.imoocmall.model.pojo.User;

/**
 * UserService
 */

public interface UserService {
    User getUser();

    void register(String userName,String password) throws ImoocMallException;

    User login(String userName, String password) throws ImoocMallException;

    void updateInfomation(User user) throws ImoocMallException;

    boolean checkAdminRole(User user);
}
